<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/3/29
  Time: 14:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery_1.12.4.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#del").click(function () {
                var id = $("#hidden").val();
                window.location.href="/student?action=deleteInfo&id="+id;
            });

            $("#fanhui").click(function () {
                window.location.href="showInfo.jsp";
            });
        });
    </script>

</head>
<body>
     <h2>是否确认删除？</h2>
     <input type="hidden"  id="hidden" value="${id}">
    <input type="button" id='del' value="删除">
    <input type="button" id="fanhui" value="返回">
</body>
</html>
